<template>

<el-collapse v-model="activeNames" accordion>


 <GeneralTabGroups
       :bpmnModeler="bpmnModeler"
          :element="element"
          name="1"
      />
      <AuditTabGroups
       :bpmnModeler="bpmnModeler"
          :element="element"
          name="2"
      />
      <FormsTabGroups
       :bpmnModeler="bpmnModeler"
          :element="element"
          name="3"
      />

      <EventTabGroups
       :bpmnModeler="bpmnModeler"
          :element="element"
          name="4"
      />
      <ButtonsTabGroups
       :bpmnModeler="bpmnModeler"
          :element="element"
          name="5"
      />
      <ConditionTabGroups
       :bpmnModeler="bpmnModeler"
          :element="element"
          name="6"
      />
      <ExecutionListenersTabGroups
       :bpmnModeler="bpmnModeler"
          :element="element"
          name="7"
      />
       <TaskListenersTabGroups
       :bpmnModeler="bpmnModeler"
          :element="element"
          name="8"
      /> 
      <StartableTabGroups
       :bpmnModeler="bpmnModeler"
          :element="element"
          name="9"
      />
          <MultiInstanceLoopGroups
       :bpmnModeler="bpmnModeler"
          :element="element"
          name="10"
      />
</el-collapse>
     

</template>

<script>
import GeneralTabGroups from './groups/GeneralTabGroups.vue'
import AuditTabGroups from './groups/AuditTabGroups.vue'
import FormsTabGroups from './groups/FormsTabGroups.vue'
import EventTabGroups from './groups/EventTabGroups.vue'
import ButtonsTabGroups from './groups/ButtonsTabGroups.vue'
import MultiInstanceLoopGroups from './groups/MultiInstanceLoopGroups.vue'
import ExecutionListenersTabGroups from './groups/ExecutionListenersTabGroups.vue'
import TaskListenersTabGroups from './groups/TaskListenersTabGroups.vue'
import ConditionTabGroups from './groups/ConditionTabGroups.vue'
import StartableTabGroups from './groups/StartableTabGroups.vue'
export default {
  props: {
    element: {
      type: Object,
      default: undefined
    },
    bpmnModeler: {
      type: Object,
      default: undefined
    }
  },
  components: {
    ButtonsTabGroups,
    GeneralTabGroups,
    AuditTabGroups,
    EventTabGroups,
    FormsTabGroups,
    ExecutionListenersTabGroups,
    TaskListenersTabGroups,
    ConditionTabGroups,
    StartableTabGroups,
    MultiInstanceLoopGroups
  },
  data () {
    return {
      activeNames: '1'
    }
  },
  watch: {

  }
}
</script>

<style scoped>
.left-pane {
  position: absolute;
  z-index: 9;
  right: 0;
  /* top: 0; */
  max-height: 100vh;
}
.el-submenu__title {
  height: 2.5em;
  line-height: 2.5em;
  background-color: #eff5ff;
  text-align: left;
}
.el-menu:not(.el-menu--collapse) {
  width: 300px;
}
.submenu {
  overflow: auto;
  max-width: 500px;
}
.list-enter-active,
.list-leave-active {
  transition: opacity 1s;
}
.list-enter {
  opacity: 0;
}
</style>
